from models.base import BaseModel, db


class AlbumRecordInfo(BaseModel):
    __tablename__ = 'album_record_info'
    __table_args__ = {'comment': '短剧资质信息表模型'}

    id = db.Column(db.BigInteger, primary_key=True, autoincrement=True)
    album_info_id = db.Column(db.BigInteger, nullable=False, comment='短剧信息ID')
    license_num = db.Column(db.String(255), nullable=False, comment='许可证号')
    registration_num = db.Column(db.String(255), nullable=False, comment='登记号')
    ordinary_record_num = db.Column(db.String(255), nullable=False, comment='普通备案号')
    key_record_num = db.Column(db.String(255), nullable=False, comment='重点备案号')
